package mock;

public class Order {

	private String orderNum;
	private int goodCounts;
	private int payment;

	public String getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(String orderNum) {
		this.orderNum = orderNum;
	}

	public int getGoodCounts() {
		return goodCounts;
	}

	public void setGoodCounts(int goodCounts) {
		this.goodCounts = goodCounts;
	}

	public int getPayment() {
		return payment;
	}

	public void setPayment(int payment) {
		this.payment = payment;
	}

	public Order() {

	}

	public Order(String orderNum, int goodsCount, int d) {
		this.orderNum = orderNum;
		this.goodCounts = goodsCount;
		this.payment = d;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "the order infomation: OrderNum:" + this.getOrderNum() + " GoodsCount:" + this.getGoodCounts()
				+ " Payment:" + this.getPayment();
	}

}
